package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Orderformitem implements Serializable {
    private String oino;

    private String oiname;

    private String oidesc;

    private String urno;

    private static final long serialVersionUID = 1L;

    public String getOino() {
        return oino;
    }

    public void setOino(String oino) {
        this.oino = oino;
    }

    public String getOiname() {
        return oiname;
    }

    public void setOiname(String oiname) {
        this.oiname = oiname;
    }

    public String getOidesc() {
        return oidesc;
    }

    public void setOidesc(String oidesc) {
        this.oidesc = oidesc;
    }

    public String getUrno() {
        return urno;
    }

    public void setUrno(String urno) {
        this.urno = urno;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Orderformitem other = (Orderformitem) that;
        return (this.getOino() == null ? other.getOino() == null : this.getOino().equals(other.getOino()))
            && (this.getOiname() == null ? other.getOiname() == null : this.getOiname().equals(other.getOiname()))
            && (this.getOidesc() == null ? other.getOidesc() == null : this.getOidesc().equals(other.getOidesc()))
            && (this.getUrno() == null ? other.getUrno() == null : this.getUrno().equals(other.getUrno()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getOino() == null) ? 0 : getOino().hashCode());
        result = prime * result + ((getOiname() == null) ? 0 : getOiname().hashCode());
        result = prime * result + ((getOidesc() == null) ? 0 : getOidesc().hashCode());
        result = prime * result + ((getUrno() == null) ? 0 : getUrno().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", oino=").append(oino);
        sb.append(", oiname=").append(oiname);
        sb.append(", oidesc=").append(oidesc);
        sb.append(", urno=").append(urno);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}